package com.lanqiao.companymanage.service.impl;

import com.lanqiao.companymanage.entity.User;
import com.lanqiao.companymanage.service.PersonalSalaryService;
import com.lanqiao.companymanage.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
/**
 * @author 何小棍
 * 个人工资查询
 */
@Service
public class PersonalSalaryServiceImpl implements PersonalSalaryService {

    @Autowired
    UserService userService;;


    /**
     * 登录后查询个人工资
     * @return
     */
    @Override
    public User getPersonalSalary(Integer id) {
        return userService.getById(id);
    }
}
